package org.noip.milhous.clause;

import org.noip.milhous.SQLInterface;

public class Null extends Utilities implements SQLInterface
{

	public static String nullString = " IS NULL";

	private Object data;

	public Null(Object data)
		{
			super();
			this.data = data;
		}

	public String toInternalSQL()
		{
			StringBuffer result = new StringBuffer();
			result.append(getInternal(data));
			result.append(nullString);
			return result.toString();
		}

	public String toSQL()
		{
			return toInternalSQL();
		}
}
